package cn.offcn.service;

import cn.offcn.entity.User;
import cn.offcn.utils.OAResult;
import cn.offcn.utils.PageView;
import org.springframework.stereotype.Service;

/**
 * @Author CHTt
 * @Date: 2021/04/22/ 下午 07:11
 * @Description
 */

public interface UserService {
    public PageView<User> getUsers(int currentPage,int pageSize,String uname);

    public OAResult deleteUserById(int uid);

    User getUserById(int uid);

    OAResult getUserByUname(String username, String password);
}
